import request from '@/utils/request'

// 查询小鞠音乐信息列表
export function listMusicInfo(query) {
  return request({
    url: '/kiku/musicInfo/list',
    method: 'get',
    params: query
  })
}

// 查询小鞠音乐信息详细
export function getMusicInfo(id) {
  return request({
    url: '/kiku/musicInfo/' + id,
    method: 'get'
  })
}

// 新增小鞠音乐信息
export function addMusicInfo(data) {
  return request({
    url: '/kiku/musicInfo',
    method: 'post',
    data: data
  })
}

// 修改小鞠音乐信息
export function updateMusicInfo(data) {
  return request({
    url: '/kiku/musicInfo',
    method: 'put',
    data: data
  })
}

// 删除小鞠音乐信息
export function delMusicInfo(id) {
  return request({
    url: '/kiku/musicInfo/' + id,
    method: 'delete'
  })
}
